Put watch on device node only if probe was sucessful.
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Thu, 15 Dec 2005 13:38:16 +0000 (13:38 +0000)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Thu, 15 Dec 2005 13:38:16 +0000 (13:38 +0000)
commitb848214f0d5722bf322731d863cb251f1cf180f8
tree65a09e497705fda4063acb7e220d89c207f73a1b
parented581c94063a20fd7de933de2dd04aa6a8d2f121
Put watch on device node only if probe was sucessful.

This fix segfault on netfront when creating more than three network devices on
domU.

Signed-off-by: Murillo F. Bernardes <mfb@br.ibm.com>
linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c